package com.cloud.cop;

import java.util.Locale;

/**
 * <pre>
 * 	Cop平台统一封装的请求对象
 * </pre>
 * @author 马永华
 *
 */
public class CopRequest {

	//请求的方法
	private String method;
	//版本号
	private String version = "1.0";
	//会话id
	private String session;
	//应用的KEY
	private String appKey;
	//签名值(签名值要忽略签名验证)
	@IgnoreSign
	private String sign;
	//请求的格式
	private String format = "json";
	//本地化
	private Locale locale = Locale.CHINESE;
	//时间戳
	private String timestamp;
	
	
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	
	public String getAppKey() {
		return appKey;
	}
	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}
	public Locale getLocale() {
		return locale;
	}
	public void setLocale(Locale locale) {
		this.locale = locale;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public String getSession() {
		return session;
	}
	public void setSession(String session) {
		this.session = session;
	}
}
